﻿using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace Sample.Novel.Domain.Categories.Entities
{
    public class Category
        :Entity<Guid>
    {
        public string Name { get; set; }

        protected Category() { }

        public Category(Guid id,
            [NotNull] string name)
        {
            Id = id;
            Name = name;
        }
    }
}
